[INFO] cloning repository https://github.com/AbdelrahmanAbuReidy/Rust-Real-Time-Stock-Trading-System
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AbdelrahmanAbuReidy/Rust-Real-Time-Stock-Trading-System" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdelrahmanAbuReidy%2FRust-Real-Time-Stock-Trading-System", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdelrahmanAbuReidy%2FRust-Real-Time-Stock-Trading-System'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cdd5ed7c0d284e135a7718322b29701ac868fa12
[INFO] checking AbdelrahmanAbuReidy/Rust-Real-Time-Stock-Trading-System against 40527f3e444fde1deb361751bdef9b9e11d1b971+rustflags=--cfg crater_hack --force-warn invalid-c-variadic-arguments for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdelrahmanAbuReidy%2FRust-Real-Time-Stock-Trading-System" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AbdelrahmanAbuReidy/Rust-Real-Time-Stock-Trading-System
[INFO] finished tweaking git repo https://github.com/AbdelrahmanAbuReidy/Rust-Real-Time-Stock-Trading-System
[INFO] tweaked toml for git repo https://github.com/AbdelrahmanAbuReidy/Rust-Real-Time-Stock-Trading-System written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AbdelrahmanAbuReidy/Rust-Real-Time-Stock-Trading-System on toolchain 40527f3e444fde1deb361751bdef9b9e11d1b971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AbdelrahmanAbuReidy/Rust-Real-Time-Stock-Trading-System already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1bfd78ce9eb9c2f101ea15a6d32eb49694d426dc927afd15f90658fa94bb4904
[INFO] running `Command { std: "docker" "start" "1bfd78ce9eb9c2f101ea15a6d32eb49694d426dc927afd15f90658fa94bb4904", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1bfd78ce9eb9c2f101ea15a6d32eb49694d426dc927afd15f90658fa94bb4904", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1bfd78ce9eb9c2f101ea15a6d32eb49694d426dc927afd15f90658fa94bb4904" "/opt/rustwide/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1bfd78ce9eb9c2f101ea15a6d32eb49694d426dc927afd15f90658fa94bb4904", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid --cfg crater_hack --force-warn invalid-c-variadic-arguments" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1bfd78ce9eb9c2f101ea15a6d32eb49694d426dc927afd15f90658fa94bb4904" "/opt/rustwide/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling thiserror v2.0.9
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]    Compiling serde_json v1.0.134
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling cc v1.2.5
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling rustix v0.38.42
[INFO] [stderr]    Compiling semver v1.0.24
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling cookie-factory v0.2.4
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]     Checking tinyvec v1.8.1
[INFO] [stderr]    Compiling libloading v0.8.6
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling bindgen v0.59.2
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]     Checking matches v0.1.10
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking lazycell v1.3.0
[INFO] [stderr]    Compiling syn v2.0.91
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.14
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking input_buffer v0.5.0
[INFO] [stderr]     Checking linux_proc v0.1.1
[INFO] [stderr]     Checking mio-extras v2.0.6
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking chrono v0.4.39
[INFO] [stderr]     Checking cpu-monitor v0.1.1
[INFO] [stderr]     Checking cpu-time v1.0.0
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking clap_lex v0.7.4
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking clap_builder v4.5.23
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking is-terminal v0.4.13
[INFO] [stderr]     Checking oorandom v11.1.4
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking clap v4.5.23
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]    Compiling snafu-derive v0.7.5
[INFO] [stderr]    Compiling env_logger v0.9.3
[INFO] [stderr]     Checking snafu v0.7.5
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.216
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.9
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling pest v2.7.15
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling pest_meta v2.7.15
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling perf_monitor v0.2.1
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]    Compiling pest_generator v2.7.15
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling pest_derive v2.7.15
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking handlebars v1.1.0
[INFO] [stderr]     Checking amq-protocol-types v1.2.0
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stderr]    Compiling cargo-lock v8.0.3
[INFO] [stderr]     Checking amq-protocol-codegen v1.4.0
[INFO] [stderr]    Compiling built v0.5.2
[INFO] [stderr]    Compiling amiquip v0.4.2
[INFO] [stderr]    Compiling amq-protocol v1.4.0
[INFO] [stderr]     Checking rts_assignment v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/stock_inventory.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |     for (i,message) in consumer.receiver().iter().enumerate() {
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/stock_inventory.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |     for (i,message) in consumer.receiver().iter().enumerate() {
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `percentage_change`
[INFO] [stdout]    --> src/lib.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let percentage_change = fluctuation * 100.0; // Convert fluctuation to percentage
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_percentage_change`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `percentage_change`
[INFO] [stdout]    --> src/lib.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let percentage_change = fluctuation * 100.0; // Convert fluctuation to percentage
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_percentage_change`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Client` and `Stock`
[INFO] [stdout]   --> src/trading/trading.rs:11:31
[INFO] [stdout]    |
[INFO] [stdout] 11 | use client::{generate_client, Client, Stock};
[INFO] [stdout]    |                               ^^^^^^  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Client` and `Stock`
[INFO] [stdout]   --> src/trading/trading.rs:11:31
[INFO] [stdout]    |
[INFO] [stdout] 11 | use client::{generate_client, Client, Stock};
[INFO] [stdout]    |                               ^^^^^^  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/stock_inventory.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |     for (i,message) in consumer.receiver().iter().enumerate() {
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/trading/broker.rs:258:54
[INFO] [stdout]     |
[INFO] [stdout] 258 |     fn process_buy_order(&mut self, client: &Client, i: usize) -> bool {
[INFO] [stdout]     |                                                      ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/trading/broker.rs:313:55
[INFO] [stdout]     |
[INFO] [stdout] 313 |     fn process_sell_order(&mut self, client: &Client, i: usize) -> bool {
[INFO] [stdout]     |                                                       ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stocks`
[INFO] [stdout]   --> src/trading/trading.rs:61:32
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 if let Ok(Some(stocks)) = broker_locked.receive_orders_from_queue() {
[INFO] [stdout]    |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stocks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/stock_inventory.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |     for (i,message) in consumer.receiver().iter().enumerate() {
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/trading/broker.rs:258:54
[INFO] [stdout]     |
[INFO] [stdout] 258 |     fn process_buy_order(&mut self, client: &Client, i: usize) -> bool {
[INFO] [stdout]     |                                                      ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/trading/broker.rs:313:55
[INFO] [stdout]     |
[INFO] [stdout] 313 |     fn process_sell_order(&mut self, client: &Client, i: usize) -> bool {
[INFO] [stdout]     |                                                       ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stocks`
[INFO] [stdout]   --> src/trading/trading.rs:61:32
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 if let Ok(Some(stocks)) = broker_locked.receive_orders_from_queue() {
[INFO] [stdout]    |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stocks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: amq-protocol v1.4.0, amq-protocol-types v1.2.0, nom v4.2.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "1bfd78ce9eb9c2f101ea15a6d32eb49694d426dc927afd15f90658fa94bb4904", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1bfd78ce9eb9c2f101ea15a6d32eb49694d426dc927afd15f90658fa94bb4904", kill_on_drop: false }`
[INFO] [stdout] 1bfd78ce9eb9c2f101ea15a6d32eb49694d426dc927afd15f90658fa94bb4904
